package com.sihan.framework.etm.entity.baseData;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;
import com.sihan.framework.etm.entity.BaseUseOrgModel;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 
 * @description 保管地点
 * @author 韩兵
 * 
 * @Date 2020年12月1日
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(name = "jdx_etm_use_locale")
public class UseLocalModel extends BaseUseOrgModel implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	@AutoGenerator(idType = IdType.UUID32)
	private String id; // NOT NULL COMMENT '主键',
	private String pkUserlocaleid; // DEFAULT NULL COMMENT '保管地点主键（共用保管地点ID，非共用跟主键相同）',
	private String useAddressName=""; // DEFAULT NULL COMMENT '保管地点名称',
	private String useAddressDesc; // DEFAULT NULL COMMENT '描述',
	private String useAddressX; // DEFAULT NULL COMMENT '经度',
	private String useAddressY; // DEFAULT NULL COMMENT '纬度',
	private String perName; // DEFAULT NULL COMMENT '负责人',
	private String perTell; // DEFAULT NULL COMMENT '联系方式',
	private String comment; // DEFAULT NULL COMMENT '是否智能库房',
	private String blgXgsId; // DEFAULT NULL COMMENT '所属县ID',
	private String blgXgs=""; // DEFAULT NULL COMMENT '所属县名称',
	private String blgSgsId; // DEFAULT NULL COMMENT '所属市ID',
	private String blgSgs=""; // DEFAULT NULL COMMENT '所属市名称',
}
